﻿using System;

namespace caputretool
{
    class Program
    {
        static void Main(string[] args)
        {
            //启动先整理输出目录
            //因为有些情况 调试器会让当前目录和执行文件目录不统一
            //比如在linux 下的vscode
            var exepath = System.IO.Path.GetDirectoryName(typeof(Program).Assembly.Location);
            var curpath = System.IO.Directory.GetCurrentDirectory();

            System.Console.WriteLine("curpath =" + curpath);
            System.Console.WriteLine("exepath =" + exepath);

            System.IO.Directory.SetCurrentDirectory(exepath);


            var win = new EditWin();

            BITUI.AppFramework.MainLoop(win.window);
        }

    }
}
